package com.huaxin.common;

import com.huaxin.common.Entity.UserDTO;
import com.huaxin.common.Entity.UserInfo;

/**
 * Created by Administrator on 2016/11/16.
 */

public class Global {
    public static UserInfo userInfo;
    public static UserDTO user;

    public static UserInfo getUserInfo() {
        return userInfo;
    }

    public static UserDTO getUser() {
        return user;
    }

    public static void setUserInfo(UserInfo userInfo) {
        Global.userInfo = userInfo;
    }

    public static void setUser(UserDTO user) {
        Global.user = user;
    }
}
